import request from '@/utils/request'

// 获取左侧列表
export const getProjectOverview = (params) => {
  return request({
    method: 'get',
    url: '/system/screen/buildingProject/query/projectOverview',
    params: params,
  })
}

// 获取右侧列表
export const getScreedProject = (params) => {
  return request({
    method: 'get',
    url: '/system/screen/buildingProject/query/screedProject',
    params: params,
  })
}

// 获取项目详情
export const getInfoByPkid = (params) => {
  return request({
    method: 'get',
    url: '/system/screen/buildingProject/getInfoByPkid',
    params: params,
  })
}


// 获取建筑类型
export const getBuildingTypes = (params) => {
  return request({
    method: 'get',
    url: '/system/screen/buildingProject/getProjectType',
    params: params,
  })
}

// 获取城区列表
export const getDistrictOptions = (params) => {
  return request({
    method: 'get',
    url: '/system/screen/buildingProject/getProjectCity',
    params: params,
  })
}

// 项目详情：获取项目施工管理
export const getConstructionManagement = (params) => {
  return request({
    method: 'get',
    url: '/system/screen/buildingProject/query/getProjectRecord',
    params: params,
  })
}

// 项目详情：获取项目施工管理
export const getAttendanceRecord = (params) => {
  return request({
    method: 'get',
    url: '/system/screen/buildingProject/query/getProjectSginInRecord',
    params: params,
  })
}
